# coding: utf-8
"""
@python version : python3.10
@file name      : app02.py
@date           : 2024/5/14 11:39
@author         : ziyang.yang@aliyun.com
@gitee          : https://gitee.com/ziyangyang1318
@blog           : www.yangziyang.top
@describe       : 
"""
from typing import Optional

from fastapi import APIRouter

app02 = APIRouter()


@app02.get('/jobs/{kd}')
async def get_jobs(kd, city: Optional[str] = None, xl: Optional[str] = None):
    params = {
        'keyword': kd,
        '城市': city,
        '学历': xl
    }
    return params
